# Dockerfile.sandbox
FROM langgenius/dify-sandbox:0.2.11

##CAE_COMMON_VARS_PLACE_HOLDER##

##DIFY_COMMON_VARS_PLACE_HOLDER##

ENV API_KEY=${SANDBOX_API_KEY:-dify-sandbox} \
    GIN_MODE=${SANDBOX_GIN_MODE:-release} \
    WORKER_TIMEOUT=${SANDBOX_WORKER_TIMEOUT:-15} \
    ENABLE_NETWORK=${SANDBOX_ENABLE_NETWORK:-true} \
    HTTP_PROXY=${SANDBOX_HTTP_PROXY:-http://ssrf_proxy:3128} \
    HTTPS_PROXY=${SANDBOX_HTTPS_PROXY:-http://ssrf_proxy:3128} \
    SANDBOX_PORT=${SANDBOX_PORT:-8194}

VOLUME /dependencies
VOLUME /conf